<?php


namespace App\Model;

trait Config
{
    use \App\Plugin\PropertyTranslater;

    static function table ()
    {
        return (new static())->getTable();
    }

    protected static $translation = [
        'country' => [
            1 => 'US', // 美国
            2 => 'EU', // 欧洲
            10 => 'CN', // 中国
        ],

        'currency' => [
            0 => 'RMB',
            1 => 'USD',
            2 => 'EUR',
            3 => 'GBP',
            4 => 'CAD',
        ],

        'transport_type' => [
            0 => '陆运',
            1 => '空运',
            2 => '海运',
        ],

    ];

}